﻿ALTER TABLE [dbo].[Contract]
	ADD CONSTRAINT [ContractToAgreement] 
	FOREIGN KEY ([AgreementId])
	REFERENCES [dbo].[Agreement] ([Id])
	ON UPDATE CASCADE
	ON DELETE CASCADE
